home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / x11 / networke / xfirepow.000 / xfirepow / xfirepower-0.84 / client / Makefile < prev    next >
Makefile  |  1996-03-16  |  29KB  |  810 lines

  1. # Makefile generated by imake - do not edit!
  2. # $XConsortium: imake.c,v 1.91 95/01/12 16:15:47 kaleb Exp $
  3.  
  4. # ----------------------------------------------------------------------
  5. # Makefile generated from "Imake.tmpl" and <Imakefile>
  6. # $XConsortium: Imake.tmpl,v 1.224.1.1 95/06/19 17:51:01 gildea Exp $
  7. # $XFree86: xc/config/cf/Imake.tmpl,v 3.18 1995/07/12 15:27:23 dawes Exp $
  8. #
  9.  
  10. .SUFFIXES: .i
  11.  
  12. # $XConsortium: Imake.cf,v 1.19 95/01/05 19:24:32 kaleb Exp $
  13. # $XFree86: xc/config/cf/Imake.cf,v 3.15 1995/06/08 06:18:39 dawes Exp $
  14.  
  15. # -----------------------------------------------------------------------
  16. # site-specific configuration parameters that need to come before
  17. # the platform-specific parameters - edit site.def to change
  18.  
  19. # site:  $XConsortium: site.sample,v 1.9 94/04/08 17:02:06 rws Exp $
  20. # site:  $XFree86: xc/config/cf/site.def,v 3.8 1995/05/27 01:56:50 dawes Exp $
  21.  
  22. # $XFree86: xc/config/cf/xf86site.def,v 3.48 1995/07/22 04:11:45 dawes Exp $
  23.  
  24. # -----------------------------------------------------------------------
  25. # platform-specific configuration parameters - edit linux.cf to change
  26.  
  27. # platform:  $XConsortium: linux.cf,v 1.11 95/01/23 18:32:03 kaleb Exp $
  28. # platform:  $XFree86: xc/config/cf/linux.cf,v 3.26 1995/07/12 15:27:34 dawes Exp $
  29.  
  30. # $XConsortium: lnxLib.rules,v 1.8 95/01/16 21:11:00 kaleb Exp $
  31. # $XFree86: xc/config/cf/lnxLib.rules,v 3.14 1995/06/01 08:18:56 dawes Exp $
  32.  
  33. # $XConsortium: xfree86.cf,v 1.9 95/01/25 16:42:40 kaleb Exp $
  34. # $XFree86: xc/config/cf/xfree86.cf,v 3.66 1995/07/22 04:11:47 dawes Exp $
  35.  
  36. LINKKITDIR = $(USRLIBDIR)/Server
  37.  
  38.        XF86SRC = $(SERVERSRC)/hw/xfree86
  39.   XF86ACCELSRC = $(XF86SRC)/accel
  40.     XF86COMSRC = $(XF86SRC)/common
  41.  XF86CONFIGSRC = $(XF86COMSRC)
  42.      XF86HWSRC = $(XF86SRC)/common_hw
  43.      XF86OSSRC = $(XF86SRC)/os-support
  44.   VGADRIVERSRC = $(XF86SRC)/vga256/drivers
  45. VGA16DRIVERSRC = $(XF86SRC)/vga16/drivers
  46.  VGA2DRIVERSRC = $(XF86SRC)/vga2/drivers
  47.  MONODRIVERSRC = $(XF86SRC)/mono/drivers
  48.    S3DRIVERSRC = $(XF86SRC)/accel/s3/drivers
  49.  
  50.         XFREE86DOCDIR = $(LIBDIR)/doc
  51.       XFREE86PSDOCDIR = $(XFREE86DOCDIR)/PostScript
  52.     XFREE86HTMLDOCDIR = $(XFREE86DOCDIR)/html
  53. XFREE86JAPANESEDOCDIR = $(XFREE86DOCDIR)/Japanese
  54.  
  55. # $XConsortium: xf86.rules,v 1.7 95/01/25 16:34:39 kaleb Exp $
  56. # $XFree86: xc/config/cf/xf86.rules,v 3.9 1995/07/12 15:27:38 dawes Exp $
  57.  
  58. # -----------------------------------------------------------------------
  59. # site-specific configuration parameters that go after
  60. # the platform-specific parameters - edit site.def to change
  61.  
  62. # site:  $XConsortium: site.sample,v 1.9 94/04/08 17:02:06 rws Exp $
  63. # site:  $XFree86: xc/config/cf/site.def,v 3.8 1995/05/27 01:56:50 dawes Exp $
  64.  
  65. # -----------------------------------------------------------------------
  66. # Imake rules for building libraries, programs, scripts, and data files
  67. # rules:  $XConsortium: Imake.rules,v 1.197.1.1 95/06/19 18:01:48 gildea Exp $
  68. # rules:  $XFree86: xc/config/cf/Imake.rules,v 3.18 1995/07/22 09:39:32 dawes Exp $
  69.  
  70.  _NULLCMD_ = @ echo -n
  71.  
  72.           PATHSEP = /
  73.             SHELL =     /bin/sh
  74.  
  75.               TOP = .
  76.       CURRENT_DIR = .
  77.  
  78.             IMAKE = imake
  79.            DEPEND = gccmakedep
  80.         MKDIRHIER =     mkdir -p
  81.         CONFIGSRC = $(TOP)/config
  82.          IMAKESRC = $(CONFIGSRC)/imake
  83.         DEPENDSRC = $(CONFIGSRC)/util
  84.            IXXSRC = $(UNSUPPORTEDSRC)/programs/ixx
  85.               IXX = ixx
  86.          IXXFLAGS = -s BaseObject -m TypeObj -r RequestObj -p Xf
  87.       IXXINCLUDES = -i '<X11/Fresco/enter-scope.h>'
  88.  
  89.           INCROOT = /usr/X11R6/include
  90.         USRLIBDIR = /usr/X11R6/lib
  91.          SHLIBDIR = /usr/X11R6/lib
  92.        LINTLIBDIR = $(USRLIBDIR)/lint
  93.           MANPATH = /usr/X11R6/man
  94.     MANSOURCEPATH = $(MANPATH)/man
  95.            MANDIR =     $(MANSOURCEPATH)1
  96.         LIBMANDIR = $(MANSOURCEPATH)3
  97.        FILEMANDIR = $(MANSOURCEPATH)5
  98.  
  99.                AR = ar clq
  100.   BOOTSTRAPCFLAGS =
  101.                CC =         gcc
  102.                AS =         as
  103.  
  104. .SUFFIXES: .cxx
  105.  
  106.               CXX = g++
  107.     CXXDEBUGFLAGS = -O2 -m486
  108.  CXXEXTRA_DEFINES =
  109. CXXEXTRA_INCLUDES =
  110.   CXXIDL_INCLUDES = -I$(TOP)/include
  111.    CXXSTD_DEFINES =     -Dlinux -D__i386__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
  112.        CXXOPTIONS =
  113.       CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES) $(CXXIDL_INCLUDES)
  114.        CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) $(CXXEXTRA_DEFINES)
  115.          CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)
  116.  
  117.          COMPRESS = compress
  118.               CPP =         /lib/cpp $(STD_CPP_DEFINES)
  119.     PREPROCESSCMD =             gcc -E $(STD_CPP_DEFINES)
  120.           INSTALL = install
  121.      INSTALLFLAGS = -c
  122.                LD =         ld
  123.               LEX =         flex -l
  124.            LEXLIB =         -lfl
  125.              YACC =         bison -y
  126.            CCYACC =         bison -y
  127.              LINT = lint
  128.       LINTLIBFLAG = -C
  129.          LINTOPTS = -axz
  130.                LN = ln -s
  131.              MAKE = make
  132.                MV = mv
  133.                CP = cp
  134.  
  135.            RANLIB = ranlib
  136.   RANLIBINSTFLAGS =
  137.  
  138.                RM = rm -f
  139.         MANSUFFIX = 1x
  140.      LIBMANSUFFIX = 3x
  141.     FILEMANSUFFIX = 5x
  142.             TROFF = psroff
  143.          MSMACROS = -ms
  144.               TBL = tbl
  145.               EQN = eqn
  146.  
  147.             DVIPS = dvips
  148.             LATEX = latex
  149.  
  150.      STD_INCLUDES =
  151.   STD_CPP_DEFINES = -traditional     -Dlinux -D__i386__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
  152.       STD_DEFINES =     -Dlinux -D__i386__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
  153.  EXTRA_LOAD_FLAGS =
  154.   EXTRA_LDOPTIONS =
  155.   EXTRA_LIBRARIES =
  156.              TAGS = ctags
  157.  
  158.     SHAREDCODEDEF =
  159.          SHLIBDEF =
  160.  
  161.      SHLIBLDFLAGS =
  162.  
  163.          PICFLAGS = -B/usr/bin/jump
  164.  
  165.       CXXPICFLAGS = -B/usr/bin/jump
  166.  
  167.     PROTO_DEFINES = -DFUNCPROTO=15 -DNARROWPROTO
  168.  
  169.      INSTPGMFLAGS = -s
  170.  
  171.      INSTBINFLAGS = -m 0755
  172.      INSTUIDFLAGS = -m 4755
  173.      INSTLIBFLAGS = -m 0644
  174.      INSTINCFLAGS = -m 0444
  175.      INSTMANFLAGS = -m 0444
  176.      INSTDATFLAGS = -m 0444
  177.     INSTKMEMFLAGS = -m 4755
  178.  
  179.       PROJECTROOT = /usr/X11R6
  180.  
  181.      TOP_INCLUDES = -I$(INCROOT)
  182.  
  183.       CDEBUGFLAGS = -O2 -m486
  184.         CCOPTIONS = -ansi
  185.  
  186.       ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
  187.        ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(DEFINES)
  188.            CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)
  189.         LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
  190.          LDPRELIB = -L$(USRLIBDIR)
  191.         LDPOSTLIB =
  192.         LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS)  $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIB)
  193.      CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIB)
  194.  
  195.            LDLIBS = $(LDPOSTLIB) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
  196.  
  197.            CCLINK = $(CC)
  198.  
  199.           CXXLINK = $(CXX)
  200.  
  201.      LDSTRIPFLAGS = -x
  202.    LDCOMBINEFLAGS =     -r
  203.       DEPENDFLAGS =
  204.  
  205.         MACROFILE = linux.cf
  206.            RM_CMD = $(RM)
  207.  
  208.     IMAKE_DEFINES =
  209.  
  210.          IRULESRC = $(CONFIGDIR)
  211.         IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
  212.  
  213.      ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Project.tmpl             $(IRULESRC)/site.def $(IRULESRC)/$(MACROFILE)             $(IRULESRC)/xfree86.cf $(IRULESRC)/xf86.rules $(IRULESRC)/xf86site.def $(IRULESRC)/host.def $(EXTRA_ICONFIGFILES)
  214.  
  215. # ----------------------------------------------------------------------
  216. # X Window System Build Parameters and Rules
  217. # $XConsortium: Project.tmpl,v 1.249 95/05/23 21:36:40 matt Exp $
  218. # $XFree86: xc/config/cf/Project.tmpl,v 3.18 1995/07/22 04:11:42 dawes Exp $
  219.  
  220. # -----------------------------------------------------------------------
  221. # X Window System make variables; these need to be coordinated with rules
  222.  
  223.            BINDIR = /usr/X11R6/bin
  224.      BUILDINCROOT = $(TOP)
  225.       BUILDINCDIR = $(BUILDINCROOT)/X11
  226.       BUILDINCTOP = ..
  227.       BUILDLIBDIR = $(TOP)/usrlib
  228.       BUILDLIBTOP = ..
  229.            INCDIR = $(INCROOT)/X11
  230.            ADMDIR = /usr/adm
  231.            LIBDIR = $(USRLIBDIR)/X11
  232.  
  233.           FONTDIR = $(LIBDIR)/fonts
  234.          XINITDIR = $(LIBDIR)/xinit
  235.            XDMDIR = $(LIBDIR)/xdm
  236.            TWMDIR = $(LIBDIR)/twm
  237.            XSMDIR = $(LIBDIR)/xsm
  238.            NLSDIR = $(LIBDIR)/nls
  239.        XLOCALEDIR = $(LIBDIR)/locale
  240.         PEXAPIDIR = $(LIBDIR)/PEX
  241.       XAPPLOADDIR = $(LIBDIR)/app-defaults
  242.        FONTCFLAGS = -t
  243.  
  244.      INSTAPPFLAGS = $(INSTDATFLAGS)
  245.  
  246.               RGB = rgb
  247.             FONTC = bdftopcf
  248.         MKFONTDIR = mkfontdir
  249.  
  250.        DOCUTILSRC = $(TOP)/doc/util
  251.        XDOCMACROS = $(DOCUTILSRC)/macros.t
  252.        XIDXMACROS = $(DOCUTILSRC)/indexmacros.t
  253.        PROGRAMSRC = $(TOP)/programs
  254.            LIBSRC = $(TOP)/lib
  255.           FONTSRC = $(TOP)/fonts
  256.        INCLUDESRC = $(TOP)/X11
  257.         SERVERSRC = $(TOP)/programs/Xserver
  258.        CONTRIBSRC = $(TOP)/../contrib
  259.    UNSUPPORTEDSRC = $(TOP)/unsupported
  260.            DOCSRC = $(TOP)/doc
  261.            RGBSRC = $(TOP)/programs/rgb
  262.       BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf
  263.      MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir
  264.     FONTSERVERSRC = $(PROGRAMSRC)/xfs
  265.        FONTINCSRC = $(TOP)/include/fonts
  266.         EXTINCSRC = $(TOP)/include/extensions
  267.      TRANSCOMMSRC = $(LIBSRC)/xtrans
  268.    TRANS_INCLUDES = -I$(TRANSCOMMSRC)
  269.  
  270. # $XConsortium: lnxLib.tmpl,v 1.5 95/01/11 21:44:44 kaleb Exp $
  271. # $XFree86: xc/config/cf/lnxLib.tmpl,v 3.7 1995/04/09 13:39:23 dawes Exp $
  272.  
  273.           XLIBSRC = $(LIBSRC)/X11
  274.  
  275. SOXLIBREV = 6.0
  276. DEPXONLYLIB =
  277. XONLYLIB =  -lX11
  278.  
  279. LINTXONLY = $(LINTLIBDIR)/llib-lX11.ln
  280.  
  281.          XLIBONLY = $(XONLYLIB)
  282.  
  283.       XEXTLIBSRC = $(LIBSRC)/Xext
  284.    LBXXEXTLIBSRC = $(TOP)/workInProgress/lbx/lib/Xext
  285.  
  286.     XEXEXTLIBSRC = $(LIBSRC)/XExExt
  287.  
  288. SOXEXTREV = 6.0
  289. DEPXEXTLIB =
  290. XEXTLIB =  -lXext
  291.  
  292. LINTXEXT = $(LINTLIBDIR)/llib-lXext.ln
  293.  
  294. SOXEXTREV = 6.0
  295. DEPLBXXEXTLIB =
  296. LBXXEXTLIB =  -llbxXext
  297.  
  298. LINTLBXXEXT = $(LINTLIBDIR)/llib-llbxXext.ln
  299.  
  300. DEPXEXEXTLIB = $(USRLIBDIR)/libXExExt.a
  301. XEXEXTLIB =  -lXExExt
  302.  
  303. LINTXEXEXT = $(LINTLIBDIR)/llib-lXExExt.ln
  304.  
  305.      EXTENSIONLIB = $(XEXEXTLIB) $(XEXTLIB)
  306.   DEPEXTENSIONLIB = $(DEPXEXEXTLIB) $(DEPXEXTLIB)
  307.     LINTEXTENSION = $(LINTXEXEXT) $(LINTXEXT)
  308.  
  309.  LINTEXTENSIONLIB = $(LINTEXTENSION)
  310.           DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
  311.              XLIB = $(EXTENSIONLIB) $(XONLYLIB)
  312.          LINTXLIB = $(LINTXONLYLIB)
  313.  
  314.          XAUTHSRC = $(LIBSRC)/Xau
  315.  
  316. DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
  317. XAUTHLIB =  -lXau
  318.  
  319. LINTXAUTH = $(LINTLIBDIR)/llib-lXau.ln
  320.  
  321.       XDMCPLIBSRC = $(LIBSRC)/Xdmcp
  322.  
  323. DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
  324. XDMCPLIB =  -lXdmcp
  325.  
  326. LINTXDMCP = $(LINTLIBDIR)/llib-lXdmcp.ln
  327.  
  328.            XMUSRC = $(LIBSRC)/Xmu
  329.  
  330. SOXMUREV = 6.0
  331. DEPXMULIB =
  332. XMULIB =  -lXmu
  333.  
  334. LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
  335.  
  336.        OLDXLIBSRC = $(LIBSRC)/oldX
  337.  
  338. DEPOLDXLIB = $(USRLIBDIR)/liboldX.a
  339. OLDXLIB =  -loldX
  340.  
  341. LINTOLDX = $(LINTLIBDIR)/llib-loldX.ln
  342.  
  343.        TOOLKITSRC = $(LIBSRC)/Xt
  344.  
  345. SOXTREV = 6.0
  346. DEPXTOOLONLYLIB =
  347. XTOOLONLYLIB =  -lXt
  348.  
  349. LINTXTOOLONLY = $(LINTLIBDIR)/llib-lXt.ln
  350.  
  351.       DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
  352.          XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
  353.      LINTXTOOLLIB = $(LINTXTOOLONLYLIB)
  354.  
  355.        AWIDGETSRC = $(LIBSRC)/Xaw
  356.  
  357. SOXAWREV = 6.0
  358. DEPXAWLIB =
  359. XAWLIB =  -lXaw
  360.  
  361. LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
  362.  
  363.        XTFSRC = $(TOP)/workInProgress/Xtf
  364.  
  365. SOXTFREV = 0.7
  366. DEPXTFLIB =
  367. XTFLIB =  -lXtf
  368.  
  369. LINTXTF = $(LINTLIBDIR)/llib-lXtf.ln
  370.  
  371.        FRESCOSRC = $(TOP)/workInProgress/Fresco
  372.  
  373. SOFRESCOREV = 0.7
  374. DEPFRESCOLIB =
  375. FRESCOLIB =  -lFresco
  376.  
  377. LINTFRESCO = $(LINTLIBDIR)/llib-lFresco.ln
  378.  
  379.          XILIBSRC = $(LIBSRC)/Xi
  380.  
  381. SOXINPUTREV = 6.0
  382. DEPXILIB =
  383. XILIB =  -lXi
  384.  
  385. LINTXI = $(LINTLIBDIR)/llib-lXi.ln
  386.  
  387.       XTESTLIBSRC = $(LIBSRC)/Xtst
  388.  
  389. SOXTESTREV = 6.0
  390. DEPXTESTLIB =
  391. XTESTLIB =  -lXtst
  392.  
  393. LINTXTEST = $(LINTLIBDIR)/llib-lXtst.ln
  394.  
  395.         PEXLIBSRC = $(LIBSRC)/PEX5
  396.  
  397. SOPEXREV = 6.0
  398. DEPPEXLIB =
  399. PEXLIB =  -lPEX5
  400.  
  401. LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln
  402.  
  403.         XIELIBSRC = $(LIBSRC)/XIE
  404.  
  405. SOXIEREV = 6.0
  406. DEPXIELIB =
  407. XIELIB =  -lXIE
  408.  
  409. LINTXIE = $(LINTLIBDIR)/llib-lXIE.ln
  410.  
  411.       PHIGSLIBSRC = $(LIBSRC)/PHIGS
  412.  
  413. DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
  414. PHIGSLIB =  -lphigs
  415.  
  416. LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
  417.  
  418. DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
  419. XBSDLIB =  -lXbsd
  420.  
  421. LINTXBSD = $(LINTLIBDIR)/llib-lXbsd.ln
  422.  
  423.            ICESRC = $(LIBSRC)/ICE
  424.  
  425. SOICEREV = 6.0
  426. DEPICELIB =
  427. ICELIB =  -lICE
  428.  
  429. LINTICE = $(LINTLIBDIR)/llib-lICE.ln
  430.  
  431.             SMSRC = $(LIBSRC)/SM
  432.  
  433. SOSMREV = 6.0
  434. DEPSMLIB =
  435. SMLIB =  -lSM
  436.  
  437. LINTSM = $(LINTLIBDIR)/llib-lSM.ln
  438.  
  439.          FSLIBSRC = $(LIBSRC)/FS
  440.  
  441. DEPFSLIB = $(USRLIBDIR)/libFS.a
  442. FSLIB =  -lFS
  443.  
  444. LINTFS = $(LINTLIBDIR)/llib-lFS.ln
  445.  
  446.          FONTLIBSRC = $(LIBSRC)/font
  447.  
  448. DEPFONTLIB = $(USRLIBDIR)/libfont.a
  449. FONTLIB =  -lfont
  450.  
  451. LINTFONT = $(LINTLIBDIR)/llib-lfont.ln
  452.  
  453.           DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
  454.  
  455.          DEPLIBS1 = $(DEPLIBS)
  456.          DEPLIBS2 = $(DEPLIBS)
  457.          DEPLIBS3 = $(DEPLIBS)
  458.  
  459. XMULIB = -lXmu $(XLIB)
  460.  
  461.         CONFIGDIR = $(LIBDIR)/config
  462.  
  463. # -----------------------------------------------------------------------
  464. # start of Imakefile
  465.  
  466. # =====================================================================
  467. # Imakefile - XFirepower v0.1 - ogre@netcom.com - May 12, 1995
  468. # =====================================================================
  469.  
  470. # This is the only line you should have to change.  the high scores
  471. # file will be written in this directory, change SCOREFILE to put
  472. # it somewhere else or change the name.  The sounds directory and
  473. # sound server executable also reside here if sound is supported on
  474. # your system.  If not doing "make install", set this to where the
  475. # files are now.
  476.  
  477.     XFIREDIR = /home/ogre/xfirepower
  478.  
  479.     SOUNDDIR        = $(XFIREDIR)/sounds
  480.  
  481. # sound?? I don't think I wrote sound support in yet, just ignore my
  482. # obvious laziness in copying this from the XGalaga Imakefile :-)
  483.  
  484. # Should be defined automatically for appropriate systems
  485. # define SOUND
  486.  
  487. # You should not have to change IMAGEDIR unless you rerun
  488. # mkimgsrc and set it to not compile images in.  IE
  489. # don't mess with this unless you know what it does.
  490.  
  491.     IMAGEDIR            = $(XFIREDIR)/images
  492.  
  493. # You can get libXpm from ftp.x.org.  If it is already installed
  494. # with the standard X libs, you shouldn't need to change this.
  495. # otherwise make these point at wherever you put it.
  496.  
  497.     XPMLIB         = -lXpm
  498.     XPMINCLUDE         = -I/usr/include/X11
  499.  
  500.     XSPRITELIB          = -L./libsprite -lXsprite
  501.  
  502. # use gcc if at all possible.  If you can't make sure you set this
  503. # to an ANSI compiler!
  504.     CC = gcc
  505.  
  506. # **** System specific preprocessor flags.  If yours isn't here,
  507. # **** and you need something changed, tell me about it!
  508.  
  509.     SYSDEFS = -Wall
  510.     SOUNDSERVER =
  511.     SOUNDOBJS =
  512.     SOUNDDEV = /dev/dsp
  513.  
  514. # ***********************************************************
  515. # ---> You shouldn't need to change anything below this <----
  516. # ***********************************************************
  517.  
  518.     EXTRA_INCLS = $(XPMINCLUDE) -I./libsprite -I../common
  519.  
  520.     DEFINES = $(EXTRA_INCLS) $(SYSDEFS)
  521.  
  522.     LOCAL_LIBRARIES = $(XSPRITELIB) $(XPMLIB) $(XLIB) -lm
  523.  
  524.     DEPLIBS = $(DEPXLIB) libsprite/libXsprite.a
  525.  
  526.     OBJS1 = main.o data.o images.o sintab.o socket.o message.o playerwin.o     motd.o redraw.o input.o outfit.o dash.o option.o defaults.o $(SOUNDOBJS)
  527.  
  528.     SRCS1 = `echo $(OBJS1) | sed -e 's/\.o/.c/g'`
  529.  
  530.     PROGRAMS = xfire
  531.  
  532. SUBDIRS       = libsprite
  533.  
  534. all::
  535.     @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
  536.     for i in $(SUBDIRS) ;\
  537.     do \
  538.     (cd $$i ; echo "making" all "in $(CURRENT_DIR)/$$i..."; \
  539.     $(MAKE) $(MFLAGS) "CC=$(CC)" "CDEBUGFLAGS=$(CDEBUGFLAGS)" all); \
  540.     done
  541.  
  542. Makefiles::
  543.     -@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
  544.     case '${MFLAGS}' in *n*) executeit="no";; esac; \
  545.     for i in $(SUBDIRS) ;\
  546.     do \
  547.     case "$(CURRENT_DIR)" in \
  548.     .) curdir= ;; \
  549.     *) curdir=$(CURRENT_DIR)/ ;; \
  550.     esac; \
  551.     echo "making Makefiles in $$curdir$$i..."; \
  552.     itmp="$$i" \
  553.     curtmp="$(CURRENT_DIR)" \
  554.     toptmp=""; \
  555.     case "$$itmp" in \
  556.     ../?*) \
  557.     while echo "$$itmp" | grep '^../' > /dev/null;\
  558.     do \
  559.     toptmp="/`basename $$curtmp`$$toptmp"; \
  560.     curtmp="`dirname $$curtmp`"; \
  561.     itmp="`echo $$itmp | sed 's;../;;'`"; \
  562.     done \
  563.     ;; \
  564.     ./?*) \
  565.     while echo "$$itmp" | grep '^./' > /dev/null;\
  566.     do \
  567.     itmp="`echo $$itmp | sed 's;./;;'`"; \
  568.     done \
  569.     ;; \
  570.     esac; \
  571.     case "$$itmp" in \
  572.     */?*/?*/?*/?*)    newtop=../../../../..;; \
  573.     */?*/?*/?*)    newtop=../../../..;; \
  574.     */?*/?*)    newtop=../../..;; \
  575.     */?*)        newtop=../..;; \
  576.     *)        newtop=..;; \
  577.     esac; \
  578.     newtop="$$newtop$$toptmp"; \
  579.     case "$(TOP)" in \
  580.     /?*) imaketop=$(TOP) \
  581.     imakeprefix= ;; \
  582.     .) imaketop=$$newtop \
  583.     imakeprefix=$$newtop/ ;; \
  584.     *) imaketop=$$newtop/$(TOP) \
  585.     imakeprefix=$$newtop/ ;; \
  586.     esac; \
  587.     cd $$i; \
  588.     if [ $$? = 0 ]; then \
  589.     $(RM) Makefile.bak; \
  590.     if [ -f Makefile ]; then \
  591.     echo "    $(MV) Makefile Makefile.bak"; \
  592.     if [ "$$executeit" != "no" ]; then \
  593.     $(MV) Makefile Makefile.bak; \
  594.     fi; \
  595.     fi; \
  596.     if [ "$$executeit" != "no" ]; then \
  597.     $(IMAKE_CMD) -DTOPDIR=$$imaketop -DCURDIR=$$curdir$$i; \
  598.     fi; \
  599.     $(MAKE) $(MFLAGS) Makefiles; \
  600.     cd $$newtop; \
  601.     fi; \
  602.     done
  603.  
  604.  OBJS = $(OBJS1) $(OBJS2) $(OBJS3)
  605.  SRCS = $(SRCS1) $(SRCS2) $(SRCS3)
  606.  
  607. all:: $(PROGRAMS)
  608.  
  609. $(PROGRAMS): $(OBJS1) $(DEPLIBS1)
  610.     $(RM) $@
  611.     $(CCLINK) -o $@ $(LDOPTIONS) $(OBJS1)  $(LOCAL_LIBRARIES) $(LDLIBS)   $(EXTRA_LOAD_FLAGS)
  612.  
  613. install:: $(PROGRAMS)
  614.     @if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \
  615.     else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi
  616.     $(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS)  $(PROGRAMS) $(DESTDIR)$(BINDIR)/$(PROGRAMS)
  617.  
  618. install.man:: $(PROGRAMS).man
  619.     @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
  620.     else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
  621.     $(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) $(PROGRAMS).man $(DESTDIR)$(MANDIR)/$(PROGRAMS).$(MANSUFFIX)
  622.  
  623. depend::
  624.     $(DEPEND) $(DEPENDFLAGS) -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS)
  625.  
  626. lint:
  627.     $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
  628. lint1:
  629.     $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
  630.  
  631. clean::
  632.     $(RM) $(PROGRAMS)
  633.  
  634. # libsprite/libXsprite.a:
  635. #     cd libsprite ; xmkmf ; make
  636.  
  637. install:: $(PROGRAMS) $(SOUNDSERVER)
  638.     @echo "XFirepower directory is " $(XFIREDIR)
  639.     @:
  640.     @echo "Creating directory " $(XFIREDIR)
  641.     @if [ ! -d $(XFIREDIR) ]; then mkdir $(XFIREDIR); fi
  642.     @echo "Making an empty high score file"
  643.     @touch $(SCOREFILE)
  644.     @chmod a+rw $(SCOREFILE)
  645.     @:
  646.     @if [ "$(INSTALLSOUND)" = "True" ];                      then                                        echo "Creating directory " $(SOUNDDIR);                 if [ ! -d $(SOUNDDIR) ]; then mkdir $(SOUNDDIR); fi;            echo "Copying sound server to directory " $(SOUNDDIR);         $(INSTALL) -c -s $(INSTBINFLAGS) $(SOUNDSERVER) $(XFIREDIR);         echo "Copying sound files into directory " $(SOUNDDIR);         cd ./sounds; set -x; for file in *.raw; do                    $(INSTALL) -c $(INSTDATFLAGS) $$file $(SOUNDDIR);            done;                                fi
  647.  
  648. all:: $(SOUNDSERVER)
  649.  
  650. clean::
  651.     cd libsprite ; make clean
  652.  
  653. dist:
  654.     @make clean
  655.     @rm -f $(EXE) TAGS core
  656.     @makedepend
  657.     @:
  658.     cd .. ; tar czvf $(PROGRAMS).tar.gz $(PROGRAMS)/
  659.  
  660. proto:
  661.     @cproto $(CDEFS) $(INCLUDEDIRS) $(SRCS) > proto.h
  662.  
  663. # -----------------------------------------------------------------------
  664. # common rules for all Makefiles - do not edit
  665.  
  666. .c.i:
  667.     $(RM) $@
  668.     $(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@
  669.  
  670. emptyrule::
  671.  
  672. clean::
  673.     $(RM_CMD) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut   "#"*
  674.  
  675. Makefile::
  676.     -@if [ -f Makefile ]; then set -x; \
  677.     $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
  678.     else exit 0; fi
  679.     $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
  680.  
  681. tags::
  682.     $(TAGS) -w *.[ch]
  683.     $(TAGS) -xw *.[ch] > TAGS
  684.  
  685. # -----------------------------------------------------------------------
  686. # empty rules for directories that do not have SUBDIRS - do not edit
  687.  
  688. install::
  689.     @echo "install in $(CURRENT_DIR) done"
  690.  
  691. install.man::
  692.     @echo "install.man in $(CURRENT_DIR) done"
  693.  
  694. install.linkkit::
  695.     @echo "install.linkkit in $(CURRENT_DIR) done"
  696.  
  697. Makefiles::
  698.  
  699. includes::
  700.  
  701. depend::
  702.  
  703. # -----------------------------------------------------------------------
  704. # dependencies generated by makedepend
  705.  
  706. # DO NOT DELETE
  707. main.o : main.c /usr/include/stdio.h /usr/include/features.h /usr/include/sys/cdefs.h \
  708.   /usr/include/libio.h /usr/include/_G_config.h /usr/include/stdlib.h /usr/lib/gcc-lib/i486-linux/2.5.8/include/stddef.h \
  709.   /usr/include/errno.h /usr/include/linux/errno.h /usr/include/asm/errno.h /usr/lib/gcc-lib/i486-linux/2.5.8/include/float.h \
  710.   /usr/include/alloca.h /usr/include/unistd.h /usr/include/posix_opt.h /usr/include/gnu/types.h \
  711.   /usr/include/sys/types.h /usr/include/linux/types.h /usr/include/asm/types.h \
  712.   /usr/include/sys/time.h /usr/include/linux/time.h /usr/include/time.h /usr/include/math.h \
  713.   /usr/include/huge_val.h /usr/include/endian.h /usr/include/bytesex.h /usr/include/nan.h \
  714.   /usr/include/values.h /usr/include/pwd.h ./libsprite/Wlib.h /usr/X11R6/include/X11/Xlib.h \
  715.   /usr/X11R6/include/X11/X.h /usr/X11R6/include/X11/Xfuncproto.h /usr/X11R6/include/X11/Xosdefs.h \
  716.   ./libsprite/copyright2.h ./libsprite/Wproto.h data.h ../common/struct.h ../common/defs.h \
  717.   proto.h images.h 
  718. data.o : data.c ./libsprite/Wlib.h /usr/X11R6/include/X11/Xlib.h /usr/include/sys/types.h \
  719.   /usr/include/linux/types.h /usr/include/asm/types.h /usr/X11R6/include/X11/X.h \
  720.   /usr/X11R6/include/X11/Xfuncproto.h /usr/X11R6/include/X11/Xosdefs.h /usr/lib/gcc-lib/i486-linux/2.5.8/include/stddef.h \
  721.   ./libsprite/copyright2.h ./libsprite/Wproto.h data.h ../common/struct.h ../common/defs.h 
  722. images.o : images.c /usr/include/stdlib.h /usr/include/features.h /usr/include/sys/cdefs.h \
  723.   /usr/lib/gcc-lib/i486-linux/2.5.8/include/stddef.h /usr/include/errno.h /usr/include/linux/errno.h \
  724.   /usr/include/asm/errno.h /usr/lib/gcc-lib/i486-linux/2.5.8/include/float.h /usr/include/alloca.h \
  725.   ./libsprite/Wlib.h /usr/X11R6/include/X11/Xlib.h /usr/include/sys/types.h /usr/include/linux/types.h \
  726.   /usr/include/asm/types.h /usr/X11R6/include/X11/X.h /usr/X11R6/include/X11/Xfuncproto.h \
  727.   /usr/X11R6/include/X11/Xosdefs.h ./libsprite/copyright2.h ./libsprite/Wproto.h \
  728.   images.h ../common/struct.h proto.h 
  729. sintab.o : sintab.c 
  730. socket.o : socket.c /usr/include/stdio.h /usr/include/features.h /usr/include/sys/cdefs.h \
  731.   /usr/include/libio.h /usr/include/_G_config.h /usr/include/stdlib.h /usr/lib/gcc-lib/i486-linux/2.5.8/include/stddef.h \
  732.   /usr/include/errno.h /usr/include/linux/errno.h /usr/include/asm/errno.h /usr/lib/gcc-lib/i486-linux/2.5.8/include/float.h \
  733.   /usr/include/alloca.h /usr/include/sys/types.h /usr/include/linux/types.h /usr/include/asm/types.h \
  734.   /usr/include/sys/socket.h /usr/include/linux/socket.h /usr/include/asm/socket.h \
  735.   /usr/include/linux/sockios.h /usr/include/linux/uio.h /usr/include/sys/time.h \
  736.   /usr/include/linux/time.h /usr/include/time.h /usr/include/netinet/in.h /usr/include/linux/in.h \
  737.   /usr/include/asm/byteorder.h /usr/include/arpa/inet.h /usr/include/netdb.h /usr/include/paths.h \
  738.   /usr/include/sys/errno.h /usr/include/sys/ioctl.h /usr/include/linux/ioctl.h \
  739.   /usr/include/asm/ioctl.h /usr/include/termios.h /usr/include/linux/termios.h \
  740.   /usr/include/asm/termios.h /usr/include/sys/file.h /usr/include/fcntl.h /usr/include/linux/fcntl.h \
  741.   /usr/include/asm/fcntl.h /usr/include/signal.h /usr/include/linux/signal.h /usr/include/asm/signal.h \
  742.   /usr/include/sys/wait.h /usr/include/gnu/types.h /usr/include/waitflags.h /usr/include/linux/wait.h \
  743.   /usr/include/waitstatus.h /usr/include/endian.h /usr/include/bytesex.h /usr/include/sys/stat.h \
  744.   /usr/include/linux/stat.h /usr/include/string.h /usr/include/unistd.h /usr/include/posix_opt.h \
  745.   data.h ./libsprite/Wlib.h /usr/X11R6/include/X11/Xlib.h /usr/X11R6/include/X11/X.h \
  746.   /usr/X11R6/include/X11/Xfuncproto.h /usr/X11R6/include/X11/Xosdefs.h ./libsprite/copyright2.h \
  747.   ./libsprite/Wproto.h ../common/struct.h ../common/defs.h proto.h ../common/packet.h 
  748. message.o : message.c /usr/include/stdio.h /usr/include/features.h /usr/include/sys/cdefs.h \
  749.   /usr/include/libio.h /usr/include/_G_config.h /usr/include/string.h /usr/lib/gcc-lib/i486-linux/2.5.8/include/stddef.h \
  750.   ./libsprite/Wlib.h /usr/X11R6/include/X11/Xlib.h /usr/include/sys/types.h /usr/include/linux/types.h \
  751.   /usr/include/asm/types.h /usr/X11R6/include/X11/X.h /usr/X11R6/include/X11/Xfuncproto.h \
  752.   /usr/X11R6/include/X11/Xosdefs.h ./libsprite/copyright2.h ./libsprite/Wproto.h \
  753.   ../common/defs.h data.h ../common/struct.h proto.h 
  754. playerwin.o : playerwin.c /usr/include/stdio.h /usr/include/features.h /usr/include/sys/cdefs.h \
  755.   /usr/include/libio.h /usr/include/_G_config.h data.h ./libsprite/Wlib.h /usr/X11R6/include/X11/Xlib.h \
  756.   /usr/include/sys/types.h /usr/include/linux/types.h /usr/include/asm/types.h \
  757.   /usr/X11R6/include/X11/X.h /usr/X11R6/include/X11/Xfuncproto.h /usr/X11R6/include/X11/Xosdefs.h \
  758.   /usr/lib/gcc-lib/i486-linux/2.5.8/include/stddef.h ./libsprite/copyright2.h \
  759.   ./libsprite/Wproto.h ../common/struct.h ../common/defs.h 
  760. motd.o : motd.c /usr/include/stdio.h /usr/include/features.h /usr/include/sys/cdefs.h \
  761.   /usr/include/libio.h /usr/include/_G_config.h /usr/include/stdlib.h /usr/lib/gcc-lib/i486-linux/2.5.8/include/stddef.h \
  762.   /usr/include/errno.h /usr/include/linux/errno.h /usr/include/asm/errno.h /usr/lib/gcc-lib/i486-linux/2.5.8/include/float.h \
  763.   /usr/include/alloca.h /usr/include/string.h /usr/include/ctype.h data.h ./libsprite/Wlib.h \
  764.   /usr/X11R6/include/X11/Xlib.h /usr/include/sys/types.h /usr/include/linux/types.h \
  765.   /usr/include/asm/types.h /usr/X11R6/include/X11/X.h /usr/X11R6/include/X11/Xfuncproto.h \
  766.   /usr/X11R6/include/X11/Xosdefs.h ./libsprite/copyright2.h ./libsprite/Wproto.h \
  767.   ../common/struct.h ../common/defs.h 
  768. redraw.o : redraw.c /usr/include/stdio.h /usr/include/features.h /usr/include/sys/cdefs.h \
  769.   /usr/include/libio.h /usr/include/_G_config.h ./libsprite/Wlib.h /usr/X11R6/include/X11/Xlib.h \
  770.   /usr/include/sys/types.h /usr/include/linux/types.h /usr/include/asm/types.h \
  771.   /usr/X11R6/include/X11/X.h /usr/X11R6/include/X11/Xfuncproto.h /usr/X11R6/include/X11/Xosdefs.h \
  772.   /usr/lib/gcc-lib/i486-linux/2.5.8/include/stddef.h ./libsprite/copyright2.h \
  773.   ./libsprite/Wproto.h data.h ../common/struct.h ../common/defs.h images.h 
  774. input.o : input.c /usr/include/stdio.h /usr/include/features.h /usr/include/sys/cdefs.h \
  775.   /usr/include/libio.h /usr/include/_G_config.h /usr/include/math.h /usr/include/huge_val.h \
  776.   /usr/include/endian.h /usr/include/bytesex.h /usr/include/nan.h /usr/lib/gcc-lib/i486-linux/2.5.8/include/float.h \
  777.   /usr/include/values.h ./libsprite/Wlib.h /usr/X11R6/include/X11/Xlib.h /usr/include/sys/types.h \
  778.   /usr/include/linux/types.h /usr/include/asm/types.h /usr/X11R6/include/X11/X.h \
  779.   /usr/X11R6/include/X11/Xfuncproto.h /usr/X11R6/include/X11/Xosdefs.h /usr/lib/gcc-lib/i486-linux/2.5.8/include/stddef.h \
  780.   ./libsprite/copyright2.h ./libsprite/Wproto.h ../common/struct.h ../common/defs.h \
  781.   data.h proto.h 
  782. outfit.o : outfit.c /usr/include/stdio.h /usr/include/features.h /usr/include/sys/cdefs.h \
  783.   /usr/include/libio.h /usr/include/_G_config.h /usr/include/math.h /usr/include/huge_val.h \
  784.   /usr/include/endian.h /usr/include/bytesex.h /usr/include/nan.h /usr/lib/gcc-lib/i486-linux/2.5.8/include/float.h \
  785.   /usr/include/values.h ./libsprite/Wlib.h /usr/X11R6/include/X11/Xlib.h /usr/include/sys/types.h \
  786.   /usr/include/linux/types.h /usr/include/asm/types.h /usr/X11R6/include/X11/X.h \
  787.   /usr/X11R6/include/X11/Xfuncproto.h /usr/X11R6/include/X11/Xosdefs.h /usr/lib/gcc-lib/i486-linux/2.5.8/include/stddef.h \
  788.   ./libsprite/copyright2.h ./libsprite/Wproto.h ../common/struct.h ../common/defs.h \
  789.   data.h proto.h 
  790. dash.o : dash.c /usr/include/stdio.h /usr/include/features.h /usr/include/sys/cdefs.h \
  791.   /usr/include/libio.h /usr/include/_G_config.h ./libsprite/Wlib.h /usr/X11R6/include/X11/Xlib.h \
  792.   /usr/include/sys/types.h /usr/include/linux/types.h /usr/include/asm/types.h \
  793.   /usr/X11R6/include/X11/X.h /usr/X11R6/include/X11/Xfuncproto.h /usr/X11R6/include/X11/Xosdefs.h \
  794.   /usr/lib/gcc-lib/i486-linux/2.5.8/include/stddef.h ./libsprite/copyright2.h \
  795.   ./libsprite/Wproto.h ../common/struct.h data.h ../common/defs.h 
  796. option.o : option.c /usr/include/stdio.h /usr/include/features.h /usr/include/sys/cdefs.h \
  797.   /usr/include/libio.h /usr/include/_G_config.h /usr/include/stdlib.h /usr/lib/gcc-lib/i486-linux/2.5.8/include/stddef.h \
  798.   /usr/include/errno.h /usr/include/linux/errno.h /usr/include/asm/errno.h /usr/lib/gcc-lib/i486-linux/2.5.8/include/float.h \
  799.   /usr/include/alloca.h /usr/include/ctype.h ./libsprite/Wlib.h /usr/X11R6/include/X11/Xlib.h \
  800.   /usr/include/sys/types.h /usr/include/linux/types.h /usr/include/asm/types.h \
  801.   /usr/X11R6/include/X11/X.h /usr/X11R6/include/X11/Xfuncproto.h /usr/X11R6/include/X11/Xosdefs.h \
  802.   ./libsprite/copyright2.h ./libsprite/Wproto.h data.h ../common/struct.h ../common/defs.h 
  803. defaults.o : defaults.c /usr/include/stdio.h /usr/include/features.h /usr/include/sys/cdefs.h \
  804.   /usr/include/libio.h /usr/include/_G_config.h /usr/include/stdlib.h /usr/lib/gcc-lib/i486-linux/2.5.8/include/stddef.h \
  805.   /usr/include/errno.h /usr/include/linux/errno.h /usr/include/asm/errno.h /usr/lib/gcc-lib/i486-linux/2.5.8/include/float.h \
  806.   /usr/include/alloca.h /usr/include/string.h data.h ./libsprite/Wlib.h /usr/X11R6/include/X11/Xlib.h \
  807.   /usr/include/sys/types.h /usr/include/linux/types.h /usr/include/asm/types.h \
  808.   /usr/X11R6/include/X11/X.h /usr/X11R6/include/X11/Xfuncproto.h /usr/X11R6/include/X11/Xosdefs.h \
  809.   ./libsprite/copyright2.h ./libsprite/Wproto.h ../common/struct.h ../common/defs.h 
  810.